package www.cskaoyan.com.service;

import www.cskaoyan.com.bean.Dormitory;

import java.sql.SQLException;
import java.util.List;

public interface DormitoryManagerService {

    // 获得宿舍列表
    List<Dormitory> getDormitoryList()throws SQLException;

    // 创建宿舍
    void createDormitory(Dormitory dormitory)throws SQLException;

    // 删除宿舍
    void deleteDormitory(Dormitory dormitory)throws SQLException;

    // 修改宿舍信息
    void changeDormitory(Dormitory dormitory)throws SQLException;
}
